<!DOCTYPE html>
<html>
<head>
	<include file="Public/head"/>
</head>
<body>
	<div id="wrapper">
		<!-- 头部 -->
		<include file="Public/sider"/>
		<!-- /头部 --> 
		<div id="page-wrapper"  class="gray-bg dashbard-1">
			<!-- 头部  页面最顶端不动的操作栏 -->
			<include file="Public/header"/>
			<!-- /头部 --> 
			<!-- 主体 -->
			<include file="Public/body"/>
			<!-- /主体 -->
			<!-- 底部 -->
			<include file="Public/footer"/>
			<!-- /底部 -->
		</div>
	</div> 
	<if condition="is_login()">
		<input hidden id="islogin" value="yes" />
	<else/>       
		<input hidden id="islogin" value="no" />
	</if>
	<input hidden id="loginurl" value="{:U('User/login')}" />
	
	
	<include file="Public/var"/>
	<!-- 页面footer钩子，一般用于加载插件JS文件和JS代码 -->
	{:hook('pageFooter', 'widget')}
	<div class="hidden"><!-- 用于加载统计代码等隐藏元素 -->
		<block name="hidden"></block>
	</div>
	
	<!-- Mainly scripts -->
    <script src="__INSPINIA__/js/jquery-2.1.1.js"></script>
    <script src="__INSPINIA__/js/bootstrap.min.js"></script>
    <script src="__INSPINIA__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="__INSPINIA__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!-- Flot -->
    <script src="__INSPINIA__/js/plugins/flot/jquery.flot.js"></script>
    <script src="__INSPINIA__/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="__INSPINIA__/js/plugins/flot/jquery.flot.spline.js"></script>
    <script src="__INSPINIA__/js/plugins/flot/jquery.flot.resize.js"></script>
    <script src="__INSPINIA__/js/plugins/flot/jquery.flot.pie.js"></script>
    <!-- Peity -->
    <script src="__INSPINIA__/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="__INSPINIA__/js/demo/peity-demo.js"></script>
    <!-- Custom and plugin javascript -->
    <script src="__INSPINIA__/js/inspinia.js"></script>
    <script src="__INSPINIA__/js/plugins/pace/pace.min.js"></script>
    <!-- jQuery UI -->
    <script src="__INSPINIA__/js/plugins/jquery-ui/jquery-ui.min.js"></script>
    <!-- GITTER -->
    <script src="__INSPINIA__/js/plugins/gritter/jquery.gritter.min.js"></script>
    <!-- Sparkline -->
    <script src="__INSPINIA__/js/plugins/sparkline/jquery.sparkline.min.js"></script>
    <!-- Sparkline demo data  -->
    <script src="__INSPINIA__/js/demo/sparkline-demo.js"></script>
    <!-- ChartJS-->
    <script src="__INSPINIA__/js/plugins/chartJs/Chart.min.js"></script>
    <!-- Toastr -->
    <script src="__INSPINIA__/js/plugins/toastr/toastr.min.js"></script>
	<script>
	$(document).ready(function() {
		//if($('#islogin').val()!="yes")
		//{
		//	window.location.href =$('#loginurl').val();
		//}
	});
	</script>
	<block name="script"></block> <!-- 用于加载js代码 -->
</body>
</html>
